package dao;


import entity.Admins;

import java.util.List;

public interface AdminsDao {
    public List<Admins> findAll();
    public Admins findById(int id);
    public void save(Admins admin);
    public void update(Admins admin);
    public void delete(int id);
    public List<Admins> findByName(String name);
    public Admins login(String name,String password);
}
